package com.gene.pojo;

import java.util.Date;

public class UserCart {
    /**
     * 编号
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Integer cartId;

    /**
     用户id
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Integer userId;

    /**
     商品id
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Long itemId;

    /**
     商品数量
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Integer num;

    /**
     状态 1正常  2 禁用 3 删除
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Byte status;

    /**
     创建时间
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Date updateTime;

    /**
     商品单价,单位分 20000代表200元
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Long itemPrice;

    /**
     *
     * @return the value of user_cart.cart_id
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public Integer getCartId() {
        return cartId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_cart.cart_id
     *
     * @param cartId the value for user_cart.cart_id
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public void setCartId(Integer cartId) {
        this.cartId = cartId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_cart.user_id
     *
     * @return the value of user_cart.user_id
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_cart.user_id
     *
     * @param userId the value for user_cart.user_id
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_cart.item_id
     *
     * @return the value of user_cart.item_id
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public Long getItemId() {
        return itemId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_cart.item_id
     *
     * @param itemId the value for user_cart.item_id
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_cart.num
     *
     * @return the value of user_cart.num
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public Integer getNum() {
        return num;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_cart.num
     *
     * @param num the value for user_cart.num
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public void setNum(Integer num) {
        this.num = num;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_cart.status
     *
     * @return the value of user_cart.status
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_cart.status
     *
     * @param status the value for user_cart.status
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_cart.create_time
     *
     * @return the value of user_cart.create_time
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_cart.create_time
     *
     * @param createTime the value for user_cart.create_time
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_cart.update_time
     *
     * @return the value of user_cart.update_time
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_cart.update_time
     *
     * @param updateTime the value for user_cart.update_time
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_cart.item_price
     *
     * @return the value of user_cart.item_price
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public Long getItemPrice() {
        return itemPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_cart.item_price
     *
     * @param itemPrice the value for user_cart.item_price
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    public void setItemPrice(Long itemPrice) {
        this.itemPrice = itemPrice;
    }
}